package cn.hxh.page.service;

import cn.hxh.page.pojo.Memo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2020/10/6 20:25
 */
public interface MemoService {
    void memoInsert(String content, String id);



    List<Memo> selectMemoAll(String userId);

    void delete(String id, String content, Date time);

   int top(String id, String content, Date date);

    List<Memo> selectTop(String id);

    int noTop(String id, String content, Date date);
}
